package com.woniuxy.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.pojo.Employee;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yuankaiqiang
 * @since 2022-01-28
 */
public interface EmployeeMapper extends BaseMapper<Employee> {

/**
 * Description : TODO  <br/>
 * ChangeLog : 1. 创建 (2022/2/18 12:14 [ykq11]);
 ** @param page
* @param emp
* @param beginDateScope
 * @return com.baomidou.mybatisplus.core.metadata.IPage<com.woniuxy.pojo.Employee>
 **/
    IPage<Employee> getEmpByPage(Page<Employee> page, Employee emp, LocalDate[] beginDateScope);

    List<Employee> getEmp(Integer id);
}
